luci-mod-system/zram: remove zram_comp_streams
authorRui Salvaterra <[email protected]>
Tue, 2 Mar 2021 09:37:58 +0000 (09:37 +0000)
committerRui Salvaterra <[email protected]>
Sun, 14 Mar 2021 12:24:16 +0000 (12:24 +0000)
Zram uses per-CPU compression streams [1]. This is a no-op.

[1] https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=116191eddf9d8ddba61de788824dea442b265936

Signed-off-by: Rui Salvaterra <[email protected]>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js

index 14a15052ea06d1f4fae8729e1c3beab14f85ec64..e4c0a7cebec808c68401d3775106a1ac89b3405f 100644 (file)
@@ -195,11 +195,6 @@ return view.extend({
                        o.value('lzo', 'lzo');
                        o.value('lz4', 'lz4');
                        o.value('zstd', 'zstd');
-
-                       o = s.taboption('zram', form.Value, 'zram_comp_streams', _('ZRam Compression Streams'), _('Number of parallel threads used for compression'));
-                       o.optional    = true;
-                       o.placeholder = 1;
-                       o.datatype    = 'uinteger';
                }
 
                /*